package com.gengzp.common.model.user.req;

import com.gengzp.common.model.generic.req.SearchByIdReq;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serial;

/**
 * @ClassName EditSysUserReq
 * @Description 修改系统用户请求实体
 * @Author gengzp
 * @Date 2025/9/19 14:34
 */
@Data
@EqualsAndHashCode(callSuper = true)
@ApiModel("修改系统用户请求实体")
public class EditSysUserReq extends SearchByIdReq {

    @Serial
    private static final long serialVersionUID = 2396152292649292692L;

    /**
     * 用户昵称
     */
    @NotBlank(message = "用户昵称不能为空")
    @ApiModelProperty("用户昵称")
    private String userNickname;

    /**
     * 用户性别
     * {@link com.gengzp.common.enums.GenderEnum}
     */
    @NotNull(message = "用户性别不能为空")
    @ApiModelProperty("用户性别")
    private Integer userGender;

    /**
     * 用户个人介绍
     */
    @ApiModelProperty("用户个人介绍")
    private String userIntroduction;

}
